#ifndef CMAINWINDOW_H
#define CMAINWINDOW_H

#include <cmesh.h>
#include <QMainWindow>
#include <QFileDialog>
#include <QtOpenGL>
#include <time.h>
#include "cmetamesh.h"


namespace Ui {
	class CMainWindow;
}

class CMainWindow : public QMainWindow
{
	Q_OBJECT

public:
	explicit CMainWindow(QWidget *parent = 0);
	~CMainWindow();

private slots:
	void on_actionQuitter_triggered();

	void on_actionOuvrir_triggered();

	void on_actionEnregistrer_triggered();

	void on_mode_aff1_clicked();

	void on_mode_aff2_clicked();

	void on_mode_aff3_clicked();

	void on_mode_illum_stateChanged(int arg1);

	void on_mode_illum_clicked(bool checked);

        void on_pushButton_clicked();

        void on_pushButton_2_clicked();

private:
	Ui::CMainWindow *ui;

        CMesh * sphere1;
        CMesh * sphere2;

        CMetaMesh * metamesh;
};

#endif // CMAINWINDOW_H
